package com.efast.cafe.portal.bean.common;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class LeaveMessageBean implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer id;//留言id
	private Integer objectId;//业务对象id
	private String objectType;//业务对象类型
	private String msg;//留言
	private Date createTime;//留言时间
	private String createUser;//留言人用户名
	private String realName;//留言人真实姓名
	private Integer laudCount;//点赞数
	private Integer bisLaud;//当前用户是否有对此留言点赞
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getObjectId() {
		return objectId;
	}
	public void setObjectId(Integer objectId) {
		this.objectId = objectId;
	}
	public String getObjectType() {
		return objectType;
	}
	public void setObjectType(String objectType) {
		this.objectType = objectType;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public Integer getLaudCount() {
		return laudCount;
	}
	public void setLaudCount(Integer laudCount) {
		this.laudCount = laudCount;
	}
	public Integer getBisLaud() {
		return bisLaud;
	}
	public void setBisLaud(Integer bisLaud) {
		this.bisLaud = bisLaud;
	}
	
	
}
